package org.platform.executor.knowledge;


import com.mc.mic.core.bus.provider.IMicProviderServiceExecutor;
import org.platform.mo.csmo.cmd10017.TreeSetRequestParam;
import org.platform.mo.csmo.cmd10017.TreeSetResponseParam;
import org.platform.service.knowledge.TreeServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author FengJie
 * @date 2018/4/16
 */
@Service
public class QueryTreeSetExecutor implements IMicProviderServiceExecutor<TreeSetRequestParam, TreeSetResponseParam> {
    @Autowired
    private TreeServiceImpl service;

    @Override
    public TreeSetResponseParam doExecute(TreeSetRequestParam treeSetRequestParam) {
        return service.queryTreeSet(treeSetRequestParam);
    }
}
